import { post, get, patch, put, deletefn, postByFormData } from '../common/http'

const page = p => get("/Hex/page",p);
const add = p => post("/Hex/add",p);
const debug = p =>postByFormData("/Hex/debug",p);
const allSend = p =>postByFormData("/Hex/run",p);
const deleteById = p =>deletefn("/Hex/delete",p);
const update = p => post("Hex/update",p);
const hexEnvList = p =>get("/hexEnv/list",p);
export default {
    page,
    add,
    debug,
    allSend,
    deleteById,
    update,
    hexEnvList
}
